<link href="themes/default/css/headfoot.css" rel="stylesheet" type="text/css" />
        
            <link href="gc/gc_head.css" rel="stylesheet" type="text/css" />
            <script type="text/javascript" src="js/transport.js"></script>
        

<?php echo $this->smarty_insert_scripts(array('files'=>'sxhzp/jquery1.72.js,jquery.json-1.3.js')); ?>

<?php echo $this->smarty_insert_scripts(array('files'=>'sxhzp/member.js')); ?>
<div id="masker"></div>
<div id="pagemasker"></div>
<div id="dialog"></div>
<div class="header ">
    <div class="headBody">
        <div class="heads">
            <div class="bookmail">
                <ul>
                    <li class="background_line"><img src="themes/default/images/shoucang.jpg" style="height:30px"></a></li>
                    <li><a href="javascript:void(0);" onclick="MQ.addFavorite();">加入收藏</a></li>
                    <li class="background_pay">关注<span>美尚</span><span class="arrow"></span>
                        <div class="bookmail_more">
                            <ul>
                                <li class="more01"><a href="http://weibo.com/kyuansu" target="_blank" rel="nofollow">新浪微博</a> </li>
                                <!-- <li class="more02"><a href="" target="_blank" rel="nofollow">腾讯微博</a></li>
                                <li class="more03"><a href="" target="_blank" rel="nofollow">QQ空间</a></li> -->
                            </ul>
                        </div>
                    </li>
                </ul>
            </div>

            <div class="user_control">
                <ul>
                    <font id="ECS_MEMBERZONE"><?php 
$k = array (
  'name' => 'member_info',
);
echo $this->_echash . $k['name'] . '|' . serialize($k) . $this->_echash;
?> </font>
                    <li><a class="head_blog" href="user.php?act=oath&type=weibo"
                           target="_blank" rel="nofollow">微博登录</a></li>
                    <li><a class="head_qq" href="user.php?act=oath&type=qq" target="_blank"
                           rel="nofollow"><span class="arial">QQ</span>登录</a></li>
                    <li style="background:none;"><a class="head_alipay " href="user.php?act=oath&type=alipay" target="_blank"
                            rel="nofollow">支付宝登录</a></li>
                </ul>
            </div>
        </div>
        <div class="headBox">
            <div class="logo">
                <div class="logo" style="width:150px;height:55px;margin:0;padding:0;">
                    <div style="width:150px;margin:15px 0 0 0;float:left;">
                        <a href="index.php"><img style="margin:0;"src="themes/default/images/logo.gif"></a>
                    </div>
                </div>
            </div>
            <div  style="border:1px solid #E4E4E4;width: 145px;height: 59px;margin:13px 0 0  178px">
                <?php echo $this->_var['our_ads']; ?>
            </div>

            <div class="headSearch">
                
                        <script type="text/javascript">
                            
                            <!--
                            function checkSearchForm()
                            {
                                if(document.getElementById('keyword').value)
                                {
                                    return true;
                                }
                                else
                                {
                                    alert("<?php echo $this->_var['lang']['no_keywords']; ?>");
                                    return false;
                                }
                            }
                            function keyword()
                            {
                                alert(1);
                            }
                            -->
                            
                        </script>

                        <?php if ($this->_var['searchkeywords']): ?>
                        <?php echo $this->_var['lang']['hot_search']; ?> ：
                        <?php $_from = $this->_var['searchkeywords']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'val');if (count($_from)):
    foreach ($_from AS $this->_var['val']):
?>
                        <a href="search.php?keywords=<?php echo urlencode($this->_var['val']); ?>"><?php echo $this->_var['val']; ?></a>
                        <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
                        <?php endif; ?>

                        <form onsubmit="return checkSearchForm()" action="search.php" method="get" name="searchForm" id="searchForm">
                            <div class="headSearch_input" >
                            <input type="text" onfocus="this.value=''" autocomplete="off" onkeyup="STip(this.value, event);" value="" id="keyword" name="keywords" class="mod_search_con">

                            </div>
                            <div class="headSearch_btn">
                                <input value="" type="submit" class="mod_search_btn" name="sub_search">
                                <input value="sub_search" type="hidden" class="mod_search_btn" name="sub_search">
                            </div>
                        </form>

                            <script type="text/javascript" src="gc/gc_pages.js"></script>
                            <div id="j_search" class="mod_search">
                                <div id="search_tips" style="display: none;"></div>
                            </div>
                
            </div>
            <div class="shop_txt_out">
                <?php 
$k = array (
  'name' => 'cart_info_header',
);
echo $this->_echash . $k['name'] . '|' . serialize($k) . $this->_echash;
?>
            </div>
        </div>
        <div class="headNav">
            <div class="classNav">
                <a class="classNav_a" href="index.php">全部商品分类</a>
            </div>
            <div class="subNav">
                <ul>
                    <li class="down_nav <?php if ($this->_var['navigator_list']['config']['index'] == 1): ?>current<?php endif; ?>" id="home_navs"><a href="index.php"><span class="txt"><?php echo $this->_var['lang']['home']; ?></span></a></li>
                    <?php $_from = $this->_var['navigator_list']['middle']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'nav');$this->_foreach['nav_middle_list'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['nav_middle_list']['total'] > 0):
    foreach ($_from AS $this->_var['nav']):
        $this->_foreach['nav_middle_list']['iteration']++;
?>
                        <li <?php if ($this->_var['nav']['active'] == 1): ?>class="current"<?php endif; ?> <?php if ($this->_var['nav']['opennew'] == 1): ?>target="_blank" <?php endif; ?>><a href="<?php echo $this->_var['nav']['url']; ?>"><?php echo $this->_var['nav']['name']; ?></a></li>
                    <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
                </ul>
            </div>
        </div>
    </div>
</div>